3、Robotic arm avoiding

Website:http://docs.ros.org/en/melodic/api/moveit_tutorials/html/index.html

HD camera MoveIt:~/software/transbot_library/src/transbot_config_camera

Astra_MoveIt:~/software/transbot_library/src/transbot_config_astra

Robotic arm control function package :~/software/transbot_library/src/transbot_description

Before usingg this function, we need to close the APP remote control process and all the functions that have been turned on. MoveIT recommends running in a virtual machine.

(The computer must have a discrete GPU!!!)

3.1、Start

This lesson is mainly to learn the random movement MoveIT simulation.

Taking the HD camera configuration as an example, the Astra configuration is similar.

Virtual machine side

If you need to combine the real machine, you need to configure multi-machine communication, and it is very dangerous and easy to damage the robot. Inexperienced users are not recommended to connect to the real machine and move randomly.

Drive the real machine(Raspberry Pi)

image-20210922204036994

image-20210922204110053

Go back to 【Planning】and plan the robotic arm again. It will never collide with the cuboid, nor can it reach the position of the cuboid.

image-20210922204228358

3.2、Source code analysis

py file

C++ file